package com.test.springquickstart.impl;

import com.test.springquickstart.mapper.PeopleMapper;
import com.test.springquickstart.pojo.People;
import com.test.springquickstart.service.PeopleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PeopleServiceImpl implements PeopleService {
    @Autowired
    private PeopleMapper mapper;

    @Override
    public People getPeopleById(Integer id) {
        return mapper.getPeopleById(id);
    }
}
